import {GET,POST,UPLOAD,POSTS} from '@/services/request'

export default {
    OrderSubmit(data = {})
    {
        return POST({
            url:'/order/order/submit',
            params:data
        })
    },
    BuySubmit(data={})
    {
      return POST({
        url:'/order/order/buysubmit',
        params:data
      })
    },
    OrderIndex(data={})
    {
      return POST({
        url:'order/order/index',
        params:data
      })
    },
    OrderInfo(data = {})
    {
        return POST({
            url:'/order/order/info',
            params:data
        })
    },
    OrderRate(data={})
    {
      return POSTS({
        url:'/order/order/rate',
        params:data
    })
    },
    AfterSale(data={})
    {
      return POSTS({
        url:'/order/order/after',
        params:data
    })
    }
}